from . import models
from rest_framework import serializers


class StudentSer(serializers.ModelSerializer):
    class Meta:
        model = models.Student
        fields = "__all__"


class CourseSer(serializers.ModelSerializer):
    class Meta:
        model = models.Course
        fields = "__all__"
